同じ Module で複数のバージョンが指定されている場合は最新が使われる
https://docs.gradle.org/current/userguide/dependency_resolution.html
Gradle will consider all requested versions, wherever they appear in the dependency graph. Out of these versions, it will select the highest one.